<template>
    <div class="index">
        <el-button type="primary" v-hasPermi="['system:user:create']">点击跳转</el-button>
        <el-button type="primary" v-hasPermi="['system:user:update']">点击跳转</el-button>
        <el-button type="primary" v-hasPermi="['system:user:delete']">点击跳转</el-button>
        <el-button type="primary" v-hasPermi="['*:*:*']">点击跳转</el-button>
    </div>
</template>

<script setup>
import { ref, onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";
const route = useRoute();
const router = useRouter();
onMounted(() => {
    //console.log('3.-组件挂载到页面之后执行-------onMounted')
});
</script>
<style scoped lang="scss"></style>
